package org.pzy.java.reflect;

/**
 * @Author: DRevelation
 * @Date: 2022/2/23 10:13
 */
public class TargetObject2 {

    private String value;

    public TargetObject2() {
        value = "JavaGuide";
    }

    public void publicMethod(String s) {
        System.out.println("I love " + s);
    }

    private void privateMethod() {
        System.out.println("value is " + value);
    }

}
